package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import cn.kawins.mybatis.BaseService;
import com.xayy.mgt.model.xinwangmodel.AssessData;
import com.xayy.mgt.model.xinwangmodel.HealthEntity;

import java.util.Date;

/**
 * 生成评估数据
 * @author plq
 */
public interface GenerateAssessDataService extends BaseService<AssessData> {

    /**
     * 根据实际遥测数据生成评估数据
     * @return CheckResult<Object>
     */
    CheckResult<Object> generateAssessData(String region, Long nodeId, Date time);


    /**
     * 获取评估的卫星速率以及缓存
     * @return CheckResult<Object>
     */
    CheckResult<Object> siteRateAndCache(Long nodeId,Date time);

    /**
     * 健康评估
     * @param healthEntity 评估参数
     * @return CheckResult
     */
    CheckResult<Object> healthAssess(HealthEntity healthEntity);
}
